package com.woniu.dating.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 玖柒
 * @since 2023-05-20
 */
@Getter
@Setter
@TableName("t_dating_dynamic")
@ApiModel(value = "DatingDynamic对象", description = "")
public class DatingDynamic implements Serializable {

      private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键id")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户id")
      private Integer userId;

      @ApiModelProperty("动态内容")
      private String dynamic;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT) //插入时填充字段
      private LocalDateTime createTime;
}
